<?php
$modullist = Modul::model()->findAllByAttributes(array('id' => '1'));
foreach ($modullist as $modul) {
    $modul1 = $modul;
}
$modullist2 = Modul::model()->findAllByAttributes(array('id' => '2'));
foreach ($modullist2 as $modul) {
    $modul2 = $modul;
}
$modullist3 = Modul::model()->findAllByAttributes(array('id' => '3'));
foreach ($modullist3 as $modul) {
    $modul3 = $modul;
}
?>
<div class="clearfix" id="services">

    <div class="one-third first">
        
        <?php echo $modul1->resim; ?>
            <h3 class="title"><?php echo CHtml::encode($modul1->baslik); ?></h3>

        <p class="tagline"><?php echo CHtml::encode($modul1->alt_baslik); ?></p>

        <?php echo CHtml::decode($modul1->icerik); ?>

        <a class="readmore" href="<?php echo CHtml::decode($modul1->url); ?>"><span>Devamını Oku</span></a>
    </div> <!-- end .one-third -->

    <div class="one-third second">

        <?php echo $modul2->resim; ?>
            <h3 class="title"><?php echo CHtml::decode($modul2->baslik); ?></h3>

        <p class="tagline"><?php echo CHtml::decode($modul2->alt_baslik); ?></p>

        <?php echo $modul2->icerik; ?>

        <a class="readmore" href="<?php echo CHtml::decode($modul2->url); ?>"><span>Devamını Oku</span></a>
    </div> <!-- end .one-third -->

    <div class="one-third third">
        
        <?php echo $modul3->resim; ?>
        <h3 class="title"><?php echo CHtml::decode($modul3->baslik); ?></h3>

        <p class="tagline"><?php echo CHtml::decode($modul3->alt_baslik); ?></p>

        <?php echo $modul3->icerik; ?>

        <a class="readmore" href="<?php echo CHtml::decode($modul3->url); ?>"><span>Devamını Oku</span></a>
       
    </div> <!-- end .one-third -->

</div>